package com.hzw.saas.api.product.dto;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 充值订单
 *
 * @author zzl
 * @since 01/27/2021
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "充值订单", description = "充值订单")
public class BalanceOrderDto implements Serializable {

    private static final long serialVersionUID = -1751285297952184659L;

    /**
     * 订单ID
     */
    @ApiModelProperty(value = "订单ID", position = 1)
    private String orderId;

    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID", position = 2)
    private String userId;

    /**
     * 订单创建时间
     */
    @ApiModelProperty(value = "订单创建时间", position = 3)
    private Date createTime;

    /**
     * 充值金额
     */
    @ApiModelProperty(value = "充值金额", position = 4)
    private Double payValue;

    /**
     * 订单支付时间
     */
    @ApiModelProperty(value = "订单支付时间", position = 5)
    private Date payTime;

    /**
     * 订单完成时间
     */
    @ApiModelProperty(value = "订单完成时间", position = 6)
    private Date finallyTime;

    /**
     * 订单取消时间
     */
    @ApiModelProperty(value = "订单取消时间", position = 7)
    private Date cancelTime;

    /**
     * 是否支付，0否，1是
     */
    @ApiModelProperty(value = "是否支付，0否，1是", position = 8)
    private Integer isPayed;

    /**
     * 支付模式，1-线上支付，2-线下支付
     */
    @ApiModelProperty(value = "支付模式，1-线上支付，2-线下支付", position = 9)
    private Integer payMode;

    /**
     * 支付模式
     */
    @ApiModelProperty(value = "支付模式", position = 10)
    private String payModeText;
    /**
     * 订单状态
     *
     * @see com.hzw.saas.api.product.enums.OrderStatus
     */
    @ApiModelProperty(value = "订单状态", position = 11)
    private Integer status;

    @ApiModelProperty(value = "订单状态文本", position = 12)
    private String statusText;

    @ApiModelProperty(value = "销售人名字", position = 13)
    private String salesPeople;

    @ApiModelProperty(value = "销售人电话", position = 14)
    private String salesPhone;
}
